package frame;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * App Stating! <br>
 * Jar部署 <br>
 *     1--> maven:clean
 *     2--> maven:install
 *     3--> 上传 Liunx 服务器
 *     4--> 按端口停止Java后台项目
 *         sudo fuser -k -n tcp 8070
 *     5--> 以后台方式启动
 *         nohup java -jar frame.jar &
 */
@SpringBootApplication
@EnableScheduling // 开启定时任务
@MapperScan({"frame.system.mapper","frame.tool.mapper"})
public class App {

    public static void main( String[] args ) {
        System.out.println( "Hello World!   App is running!" );
        SpringApplication.run(App.class, args);
    }

}
